home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / X11 / xcmstest.z / xcmstest
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCCMMMMSSSSTTTTEEEESSSSTTTT((((1111))))         XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555))))          XXXXCCCCMMMMSSSSTTTTEEEESSSSTTTT((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           xcmstest - XCMS test program
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           xxxxccccmmmmsssstttteeeesssstttt [-display displayname]
  13.  
  14.            or
  15.  
  16.           xxxxccccmmmmsssstttteeeesssstttt -echo [-display displayname] < cmdfile
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           _x_c_m_s_t_e_s_t was developed as a simple test interface for
  20.           testing the XCMS API library during its development.
  21.  
  22.      BBBBEEEEFFFFOOOORRRREEEE IIIINNNNVVVVOOOOCCCCAAAATTTTIIIIOOOONNNN
  23.           Insure that the Screen Color Characterization Data has been
  24.           placed in the appropriate properties on the screen's root
  25.           window.  To load these properties, refer to the xcmsdb
  26.           utility provided with this release.
  27.  
  28.           In order to convert color names using a client-side color
  29.           name database, the database file must be specified via the
  30.           XCMSDB environment variable.
  31.  
  32.           To use the sample database provided with this release set
  33.           XCMSDB as follows:
  34.               % setenv XCMSDB `pwd`/Xcms.txt
  35.  
  36.      UUUUSSSSIIIINNNNGGGG XXXXCCCCMMMMSSSSTTTTEEEESSSSTTTT
  37.           Upon invocation of xcmstest, you should receive a "XCMS >"
  38.           prompt.  At this point you can begin entering commands.
  39.  
  40.           To list the commands currently available enter "list":
  41.                       XCMS >  list
  42.  
  43.           To receive help for a specific command enter the command
  44.           name followed by "-help".  For example:
  45.                       XCMS >  LookupColor -help
  46.  
  47.           The -echo option provides a more readable output, echoing
  48.           the command from the cmdfile.  At some point in time, you
  49.           might try using some simple test cases provided with the
  50.           release (in the tc directory, e.g.  test1, test2,
  51.           AllocNColor, gamutquery).  For example, to use commmand file
  52.           test1, invoke xcmstest as follows:
  53.                       % xcmstest -echo < tc/test1
  54.  
  55.      CCCCAAAAVVVVEEEEAAAATTTTSSSS
  56.           Color name strings passed to xcmstest commands cannot
  57.           contain a space.  However, since spaces are ignored by the
  58.           XCMS API library, you can pass a color name with the spaces
  59.           eliminated.  For example:
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCCMMMMSSSSTTTTEEEESSSSTTTT((((1111))))         XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555))))          XXXXCCCCMMMMSSSSTTTTEEEESSSSTTTT((((1111))))
  71.  
  72.  
  73.  
  74.                       XCMS >  LookupColor cornflowerblue UNDEFINED RGB
  75.  
  76.  
  77.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  78.           xcmsdb(1), Chapter 6 of Xlib - C Language X Interface.
  79.  
  80.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  81.           Copyright 1991, Massachusetts Institute of Technology.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.